﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using iLangl.Model;
using System.Data;

namespace iLangl.BusinessModel.DAL
{
	public interface IWorkAreaDAL
	{
		void AddWorkArea(WorkArea workarea, IDbTransaction trans);
		void AddTPWorkArea(TPWorkArea workarea, IDbTransaction trans);

		WorkArea ReadWorkAreaById(string id);
		WorkArea ReadWorkAreaByName(string name);

		WorkArea ReadTpWorkArea(string tpId, String Id);

		IList<WorkArea> ReadWorkAreas();
	}
}
